package com.project.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 横向进账合同文件 biz_yf_contract_document
 *
 * @author baige
 * @date 2025-02-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("横向进账合同文件")
public class BizYfContractDocument extends TimeUserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 合同id
     */
    @Excel(name = "合同id")
    @ApiModelProperty("合同id")
    private String contractId;

    /**
     * 文档名称
     */
    @Excel(name = "文档名称")
    @ApiModelProperty("文档名称")
    @TableField("FILENAME")
    private String fileName;

    /**
     * 文档id
     */
    @Excel(name = "文档id")
    @ApiModelProperty("文档id")
    private String fileId;


    /**
     * 文档类型
     */
    @Excel(name = "文档类型")
    @ApiModelProperty("文档类型")
    private String fileType;

    /**
     * 上传人id
     */
    @Excel(name = "上传人id")
    @ApiModelProperty("上传人id")
    private String uploadPersonId;

    /**
     * 上传人
     */
    @Excel(name = "上传人")
    @ApiModelProperty("上传人")
    private String uploadPersonName;

    /**
     * 上传时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("上传时间")
    private Date uploadTime;




}
